package com.book.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


/**
 * <p>
 * 
 * </p>
 *
<<<<<<< HEAD
 * @author cxy
 * @since 2023-10-11 23:21:45
=======
 * @author cc
 * @since 2023-10-11 22:05:52
>>>>>>> a45ef284ff029011b55ef4d830c2b996023ef30c
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_chapter")
public class Chapter implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @TableField("book_id")
    private Long bookId;

    @TableField("chaper_name")
    private String chaperName;

    @TableField("chaper_num")
    private String chaperNum;

    @TableField("chaper_count")
    private Integer chaperCount;

    @TableField("update_time")
    private LocalDate updateTime;

    @TableField("chaper_money")
    private BigDecimal chaperMoney;

    @TableField("addr1")
    private Integer addr1;

    @TableField("addr2")
    private Integer addr2;

    @TableField("addr3")
    private String addr3;

    @TableField("addr4")
    private String addr4;


    public static final String ID = "id";

    public static final String BOOK_ID = "book_id";

    public static final String CHAPER_NAME = "chaper_name";

    public static final String CHAPER_NUM = "chaper_num";

    public static final String CHAPER_COUNT = "chaper_count";

    public static final String UPDATE_TIME = "update_time";

    public static final String CHAPER_MONEY = "chaper_money";

    public static final String ADDR1 = "addr1";

    public static final String ADDR2 = "addr2";

    public static final String ADDR3 = "addr3";

    public static final String ADDR4 = "addr4";

}
